package router

import (
	"ginweb-admin/router/code"
	"ginweb-admin/router/login"
	"ginweb-admin/router/sys"
	"ginweb-admin/router/upload"
	"ginweb-admin/router/video"
)

// 创建实例聚合
type RouterGroup struct {
	Login       login.RouterGroup
	Logout      login.RouterGroup
	Code        code.RouterGroup
	Video       video.RouterGroup
	SysUser     sys.RouterGroup
	SysRole     sys.RouterGroup
	SysUserRole sys.RouterGroup
	SysMenu     sys.RouterGroup
	SysRoleMenu sys.RouterGroup
	SysApi      sys.RouterGroup
	SysRoleApi  sys.RouterGroup
	LocalUpload upload.RouterGroup
}

// 单例模式
var RouterGroupApp = new(RouterGroup)
